//
//  XibClass.m
//  contoct
//
//  Created by kmdai on 15/1/12.
//  Copyright (c) 2015年 kmdai. All rights reserved.
//

#import "XibClass.h"

@implementation XibClass
-(UIView*) getView{
    return [[NSBundle mainBundle]loadNibNamed:@"XibTest" owner:self options:nil][0];
}
-(void)setL:(id<ClickClass>)cl{
    c=cl;
}

-(IBAction)btnClick:(UIButton*)btn{
    NSLog(@"XibClass----btnClick");
    [c btnClickPro:btn];
}

@end
